<%--
  Created by IntelliJ IDEA.
  User: hp
  Date: 2018/8/11
  Time: 20:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>


<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <%--<link rel="stylesheet" type="text/css" href="css/deletestu.css"/>--%>

    <link rel="stylesheet" type="text/css" href="css/checkdor.css"/>
    <style>
        #wai{width: 600px;height: 400px;margin: 100px auto; border: 1px solid black}
        #tb{border: 3px solid dodgerblue;width: 100%;height: 100%}
        #tb tr{height:40px;}
        #tb tr td{width: 100px;font-size: 20px }

    </style>
</head>
<body>
<div id="top">
    <form class="form-inline"action="${pageContext.request.contextPath}/SingleCheckServlet.do"method="post">
        <div class="form-group">
            <label for="exampleInputName2">宿舍楼号</label>
            <input type="text" class="form-control" id="exampleInputName2" name="dor_build" >
        </div>
        <div class="form-group">
            <label for="exampleInputEmail2">房间号</label>
            <input type="text" class="form-control" id="exampleInputEmail2" name="dor_no">
        </div>
        <button type="submit" class="btn btn-success">搜索</button>
    </form>

</div>
<div id="wai">
    <table id="tb">
        <tr>
            <td></td>
            <td>宿舍楼号</td>
            <td><input type="hidden" name="dor_build">${sessionScope.it.dor_build}</td>

        </tr>
        <tr>
            <td></td>
            <td>房间号</td>
            <td><input type="hidden"name="dor_no">${sessionScope.it.dor_no} </td>
        </tr>
        <tr>
            <td></td>
            <td>宿舍类别</td>
            <td><input type="hidden" name="dor_name" >${sessionScope.it.dor_type}</td>
        </tr>
        <tr>
            <td></td>
            <td>宿舍朝向</td>
            <td><input type="hidden"name="dor_dir" value="" >${sessionScope.it.dor_dir}</td>
        </tr>
        <tr>
            <td></td>
            <td>床位数</td>
            <td><input type="hidden"name="dor_bednum" >${sessionScope.it.dor_bednum}</td>
        </tr>

    </table>


</div>
</body>
</html>
<script type="text/javascript">
    $("tr:even").css("background-color","#CCCCCC");
</script
</script>